home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-09-17 | 2.0 KB | 56 lines | [TEXT/MPS ] |
- #========================================================================================
- #
- # File: FWSetBuildPaths
- # Release Version: $ ODF 2 $
- #
- # Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- #
- #========================================================================================
-
-
- #-----------------------------------------------------------------------
- # Location of the current build environment.
- #-----------------------------------------------------------------------
- Set FWBldEnvDir `Directory`
- Export FWBldEnvDir
-
- #-----------------------------------------------------------------------
- # Location to put libraries.
- #-----------------------------------------------------------------------
- Set FWLibDir "{FWBldEnvDir}Lib:"
- Export FWLibDir
-
- #-----------------------------------------------------------------------
- # Location to put built parts.
- # (Assumed to be in the default directory.)
- #-----------------------------------------------------------------------
- Set FWBinDir ":Bin:"
- Export FWBinDir
-
- #-----------------------------------------------------------------------
- # Location to put objects.
- # (Assumed to be in the default directory.)
- #-----------------------------------------------------------------------
- Set FWObjDir ":Obj:"
- Export FWObjDir
-
- #-----------------------------------------------------------------------
- # Location to put Precompiled headers.
- # (If not specified then assume they are in the current build
- # environment in a folder named: "Precompile Headers:". [sfu])
- #-----------------------------------------------------------------------
- if ¬ "{FWPreCompHdrDir}"
- Set FWPreCompHdrDir "{FWBldEnvDir}Precompile∂ Headers:"
- Export FWPreCompHdrDir
- End
-
- #-----------------------------------------------------------------------
- # Check to make sure they exist before we continue.
- #-----------------------------------------------------------------------
-
- If ¬ `Exists "{FWBldEnvDir}"`
- Echo "FWSetBuildPaths: Can not find the build environment directory: {FWBldEnvDir}"
- Exit 1
- End
-
-